/* 登录页面外层容器：全屏居中 */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px); /* 适配Base导航和底部 */
    padding: 20px 0;
}

/* 登录卡片：马卡龙核心样式 */
.login-card {
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(179, 217, 255, 0.15);
    padding: 40px 35px;
    position: relative;
    transition: all 0.4s ease;
}

/* 卡片悬浮动画 */
.login-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 179, 193, 0.18);
}

/* 卡片顶部渐变装饰条 */
.login-card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: linear-gradient(90deg, #ffb3c1, #b3d9ff, #b3ffcc); /* 马卡龙三色渐变 */
}

/* 登录标题样式 */
.login-title .text-pink-macaron {
    color: #ff8fa3;
}

.login-title h2 {
    font-size: 1.5rem;
}

.login-title p {
    font-size: 0.95rem;
}

/* 表单标签样式 */
.login-label {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.login-label .text-blue-macaron {
    color: #60a5fa;
}

/* 输入框样式 */
.login-input {
    height: 50px;
    border: 1px solid #f0f5ff;
    border-radius: 12px !important;
    padding: 0 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: #ffb3c1;
    box-shadow: 0 0 0 3px rgba(255, 179, 193, 0.15);
    outline: none;
}

.login-input::placeholder {
    color: #d1d5db;
}

/* 密码显示/隐藏按钮 */
.login-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-toggle-btn:hover i {
    color: #ff8fa3;
}

/* 错误提示样式 */
.login-error-tip {
    font-size: 0.85rem;
    padding-top: 0.5rem;
}

/* 记住密码复选框 */
.login-check {
    border-color: #b3d9ff;
    border-radius: 4px !important;
}

.login-check:checked {
    background-color: #60a5fa;
    border-color: #60a5fa;
}

/* 忘记密码链接 */
.login-forgot-link {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-forgot-link:hover {
    color: #ff8fa3;
    text-decoration: none;
}

/* 登录按钮样式 */
.login-submit-btn {
    height: 52px;
    background: linear-gradient(90deg, #ff8fa3, #60a5fa);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-submit-btn:hover {
    background: linear-gradient(90deg, #ff6b8e, #4299e1);
    transform: translateY(-2px);
}

.login-submit-btn:active {
    transform: translateY(0);
}

/* 注册入口链接 */
.text-pink-macaron {
    color: #ff8fa3;
    transition: color 0.3s ease;
}

.text-pink-macaron:hover {
    color: #ff6b8e;
}

/* 响应式适配（小屏幕） */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 25px;
        margin: 0 20px;
    }

    .login-title h2 {
        font-size: 1.35rem;
    }

    .login-input {
        height: 46px;
        font-size: 0.9rem;
    }

    .login-submit-btn {
        height: 48px;
        font-size: 0.95rem;
    }
}